package com.baiyang.server.model.article;

import com.baiyang.server.annotation.NotNull;

/**
 * @author XVX - generator
 * @version 1
 */
@NotNull
public class ArticleReadNum {
	//文章ID
	@NotNull
	private String articleId;	
	//阅读数量
	@NotNull
	private Integer num;	
	
	public String getArticleId(){
		return articleId;
	}
	public void setArticleId(String articleId){
		this.articleId = articleId;
	}
	public Integer getNum(){
		return num;
	}
	public void setNum(Integer num){
		this.num = num;
	}

    public void addNum() {
		++this.num;
    }
}
